package com.qianbao.domain.step;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class StepEntity implements Serializable{

    @NotNull(message = "用户唯一标识不能为空")
    private String custom_id;

    @NotNull(message = "当前步数不能为空")
    private int current_step;

    private int prechare_step;

    public String getCustom_id() {
        return custom_id;
    }

    public void setCustom_id(String custom_id) {
        this.custom_id = custom_id;
    }

    public int getCurrent_step() {
        return current_step;
    }

    public void setCurrent_step(int current_step) {
        this.current_step = current_step;
    }

    public int getPrechare_step() {
        return prechare_step;
    }

    public void setPrechare_step(int prechare_step) {
        this.prechare_step = prechare_step;
    }

    @Override
    public String toString() {
        return "StepEntity{" +
                "custom_id='" + custom_id + '\'' +
                ", current_step=" + current_step +
                ", prechare_step=" + prechare_step +
                '}';
    }
}
